<extend name="Public/base"/>

<block name="body">
<!-- 标题栏 -->
  <div class="main-title">
    <h2>{$meta_title}</h2>
  </div>
  <div class="cf">
    <span class="text-danger"></span>
  </div>

<link rel="stylesheet" type="text/css" href="__CSS__/store.css?15031711">
  <table border="0" cellpadding="0" cellspacing="0" class="store-joinin" style="width:920px">
    <thead>
      <tr>
        <th colspan="40">店铺详细地址信息</th>
      </tr>
    </thead>
    <tbody>
      <if condition="$data['status'] eq 0">
        <tr style="background: rgb(255, 255, 255);">
          <th>店铺原来所在地：</th>
          <td>{$info.address}</td>
          <th>店铺原来详细地址：</th>
          <td colspan="20">{$info.address_detail}</td>
        </tr>
      </if>
      <tr style="background: rgb(255, 255, 255);">
        <th>店铺所在地：</th>
        <td>{$data.address}</td>
        <th>店铺详细地址：</th>
        <td colspan="20">{$data.address_detail}</td>
      </tr>
      <tr>
        <td colspan="40" style="text-align:center">
          <input type="hidden" name="member_id" value="{$member_id}" />
          <switch name="data.status">
              <case value="0">
                <a class="btn" href="{:U('updateAddressEdit?id='.$data['member_id'].'&status=1')}">审核通过</a>
                <a style="background-color: #f86f5a" class="btn" href="{:U('updateAddressEdit?id='.$data['member_id'].'&status=-1')}">审核不通过</a>
              </case>
              <case value="1"><a class="btn ajax-post" href="javascript:;">审核通过</a></case>
              <case value="-1"><a style="background-color: #f86f5a" class="btn ajax-post" href="javascript:;">审核未通过</a></case>
           </switch>
        </td>
      </tr>
    </tbody>
  </table>
  
</block>
